package com.grieous.wow.dao;

import java.util.List;
import java.util.Map;

import com.grieous.wow.entity.Content;
import com.grieous.wow.entity.Domain;
import com.grieous.wow.entity.Tag;

public interface ContentDao extends GenericDao<Content>,Page,BatchDao{
	List<Content> getContentByTag(Map<String, Object> map);
	
	List<Tag> getTagWidthContent(Map<String, Object> map);

	int insertTag(Tag tag);

	int updateTag(Tag tag);

	int deleteTag(Map<String, Object> map);
	
	List<Tag> getTag(Map<String, Object> map);
	int getTagCount(Map<String, Object> map);
	
	int insertDomain(Domain domain);

	int updateDomain(Domain domain);

	int deleteDomain(Map<String, Object> map);

	List<Domain> getDomain(Map<String, Object> map);

	int getDomainCount(Map<String, Object> map);

	
}
